
import request from '@/utils/request'

// 查询付款合同列表
export function listPaymentContractInformation(query) {
  return request({
    url: '/web/PaymentContractInformation/list',
    method: 'get',
    params: query
  })
}

// 查询付款合同详细
export function getPaymentContractInformation(id) {
  return request({
    url: '/web/PaymentContractInformation/' + id,
    method: 'get'
  })
}




// 新增付款合同
export function addPaymentContractInformation(data) {
  return request({
    url: '/web/PaymentContractInformation',
    method: 'post',
    data: data
  })
}

// 修改付款合同
export function updatePaymentContractInformation(data) {
  return request({
    url: '/web/PaymentContractInformation',
    method: 'put',
    data: data
  })
}

// 删除付款合同
export function delPaymentContractInformation(id) {
  return request({
    url: '/web/PaymentContractInformation/' + id,
    method: 'delete'
  })
}
